package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 粉丝对象 danmo_user_followers
 * 
 * @author yangle
 * @date 2024-11-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoUserFollowers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 粉丝ID（外键，关联到用户表）。 */
    private Long followerId;

    /** 被关注者ID（外键，关联到用户表）。 */
    @Excel(name = "被关注者ID", readConverterExp = "外=键，关联到用户表")
    private Long followeeId;

    private String photos;
    private String name;



    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("followerId", getFollowerId())
            .append("followeeId", getFolloweeId())
            .toString();
    }
}
